package com.plian.system.entity.sys.ythtask;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("sys_yth_task_info")
@ApiModel(value = "YthTaskInfo对象", description = "一体化平台数据同步对象")
public class YthTaskInfo implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    @ApiModelProperty(value = "类名")
    private String serviceName;

    @ApiModelProperty(value = "方法名")
    private String methodName;

    @ApiModelProperty(value = "数据更新时间")
    private String dataUpdateTime;

    @ApiModelProperty(value = "任务状态 1-执行成功 2-执行失败")
    private Integer taskStatus;

    @ApiModelProperty(value = "失败原因")
    private String failureReason;

    @ApiModelProperty(value = "任务执行时间")
    private Date executionTime;

}
